<?php
	require_once("../functions.php");
	if(!isLoggedIn()){
		echo "Please login first.";
		die();
	}
?>
<form action="ajax/upload.php" id="uploadForm" method="post" enctype="multipart/form-data" >
	<div>
		<h3 class="center">File Upload</h3>
		<br />
		<input type="hidden" name="MAX_FILE_SIZE" value="2097152" />
		File to upload: <input type="file" name="uploadedFile" />
		<br /><br />
		<p class="center">
			<input type="button" value="Upload" onclick="sendUploadFile()" />
		</p>
	</div>
</form>